package com.ourcraft.informationcollectionsystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;

@Data
public class CompanyRecordDetail {
    private Integer companyId;
    private String companyCity;
    private String companyLocation;
    private String companyInstCode;
    private String companyChineseName;
    private String companyEnglishName;
    private String companyNature;
    private String companyIndustry;
    private String companyBusiness;
    private String companyContacts;
    private String companyAddress;
    private String companyPostcode;
    private String companyPhone;
    private String companyFax;
    private String companyEmail;
    private Integer companyRecordStatus;
    @TableField(value = "history_date", jdbcType = JdbcType.TIMESTAMP)
    private Date lastSubmitDate;

    @Override
    public String toString() {
        return  "CompanyRecordDetail{" +
                "companyId=" + companyId +
                ", companyCity=" + companyCity +
                ", companyLocation=" + companyLocation +
                ", companyInstCode=" + companyInstCode +
                ", companyChineseName=" + companyChineseName +
                ", companyEnglishName=" + companyEnglishName +
                ", companyNature=" + companyNature +
                ", companyIndustry=" + companyIndustry +
                ", companyBusiness=" + companyBusiness +
                ", companyContacts=" + companyContacts +
                ", companyAddress=" + companyAddress +
                ", companyPostcode=" + companyPostcode +
                ", companyPhone=" + companyPhone +
                ", companyFax=" + companyFax +
                ", companyEmail=" + companyEmail +
                ", companyRecordStatus=" + companyRecordStatus +
                ", lastSubmitDate=" + lastSubmitDate +
                '}';
    }
}
